package org.example.sdpback.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ProjectName: sdp-back
 * @Package: org.example.sdpback.domain.enums
 * @ClassName: TaskStatus
 * @Author: zhuxingyue
 * @Description: 任务状态
 * @Date: 2024/11/21 18:11
 * @Version: 1.0
 **/
@Getter
@AllArgsConstructor
public enum TaskStatusEnum {
    TASK_UNSTART(1, "未开始"),
    TASK_DOING(2, "进行中"),
    TASK_FINISH(3, "已完成"),
    TASK_OVER(4, "已结束");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String name;
}
